UCF STIG Viewer Logo
Changes are coming to https://stigviewer.com. Take our survey to help us understand your usage and how we can better serve you in the future.
Take Survey

OL 8 operating systems must require authentication upon booting into rescue mode.


Overview

Finding ID Version Rule ID IA Controls Severity
V-248541 OL08-00-010151 SV-248541r779189_rule Medium
Description
If the system does not require valid root authentication before it boots into emergency or rescue mode, anyone who invokes emergency or rescue mode is granted privileged access to all files on the system.
STIG Date
Oracle Linux 8 Security Technical Implementation Guide 2024-02-19

Details

Check Text ( C-51975r779187_chk )
Determine if the system requires authentication for rescue mode with the following command:

$ sudo grep sulogin-shell /usr/lib/systemd/system/rescue.service

ExecStart=-/usr/lib/systemd/systemd-sulogin-shell rescue

If the "ExecStart" line is configured for anything other than "/usr/lib/systemd/systemd-sulogin-shell rescue" or is commented out or missing, this is a finding.
Fix Text (F-51929r779188_fix)
Configure the system to require authentication upon booting into rescue mode by adding the following line to the "/usr/lib/systemd/system/rescue.service" file:

ExecStart=-/usr/lib/systemd/systemd-sulogin-shell rescue